import { httpGet, handleResult } from "./http";
import moment from "moment";

//分页列表
export async function pageList(params) {
  const url = "/gm_gradeInfo/list";
  return await httpGet(url, params).then(res => {
    res.data.data.list.map(p => {
      p.createAt = null;
      p.updateAt = null;
    });
    return res.data.data || {};
  });
}